<?php
/**
 * Vorkonfigurationsdatei von Smarty
 * 
 * $Rev: 8 $
 * $Author: thejahweh $
 * $Date: 2010-09-14 07:40:11 +0000 (Tue, 14 Sep 2010) $
 * $Id: start.php 8 2010-09-14 07:40:11Z thejahweh $
 * $URL: http://allone.googlecode.com/svn/trunk/plugins/smarty/start.php $
 * @author: Adrian Liechti <info@jahweh.ch>
 * @copyright: 2010 Adrian Liechti, GPL3 and CC3 BY-SA
 */

defined('OUTPUT') or die();

global $output, $output_plugin;

$output_plugin = $pluginLoader->smarty;

if (isset($t->cfg['cache']) === false) {
	$t->cfg->addAttribute('cache','0');
	$t->cfg->save();
}

alloneSmarty::$templateDir	= $pluginLoader->dirRoot.'/templates/default';
alloneSmarty::$compileDir	= $output_plugin->dir.'/templates_c';
alloneSmarty::$cacheDir		= $output_plugin->dir.'/cache';
alloneSmarty::$pluginsDir	= $pluginLoader->dirPlugins;
alloneSmarty::$isCache		= u::xmlTrue($t->cfg['cache']);

$output = new alloneSmarty;


?>